package com.changgou.goods;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("tb_spu")
public class Spu {

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @TableField("sn")
    private String sn;

    @TableField("name")
    private String name;

    @TableField("caption")
    private String caption;

    @TableField("brand_id")
    private Integer brandId;

    @TableField("category1_id")
    private Integer category1Id;

    @TableField("category2_id")
    private Integer category2Id;

    @TableField("category3_id")
    private Integer category3Id;

    @TableField("template_id")
    private Integer templateId;

    @TableField("freight_id")
    private Integer freightId;

    @TableField("image")
    private String image;

    @TableField("images")
    private String images;

    @TableField("sale_service")
    private String saleService;

    @TableField("introduction")
    private String introduction;

    @TableField("spec_items")
    private String specItems;

    @TableField("para_items")
    private String paraItems;

    @TableField("sale_num")
    private Integer saleNum;

    @TableField("comment_num")
    private Integer commentNum;

    @TableField("is_marketable")
    private String isMarketable;

    @TableField("is_enable_spec")
    private String isEnableSpec;

    @TableField("is_delete")
    private String isDelete;

    @TableField("status")
    private String status;
}